<?php

class McCube_Exception_RouteNotFound extends McCube_Exception{

    protected $route = '';

    /** */
    public function __construct($route){
        $this->route = $route;

        parent::__construct(
            'Route for [ '.$route.' ] not found !'
        );
    }

    /** */
    public function renderHTML(){
        return ''
            .'Route not found !'
            .'<br />- Request URI : [ <em style="color:green;">'.$this->route.'</em> ]'
        ;
    }


}